package com.dinghui.mybatis.config;//package com.dinghui.employment.config;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
//
//@Configuration
//public class MyMvcConfig extends WebMvcConfigurationSupport{
//
//		@Override
//		protected void addViewControllers(ViewControllerRegistry registry) {
//			registry.addViewController("/").setViewName("index");
//			registry.addViewController("/index.html").setViewName("index");
//
//		}
//		 @Override
//		    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
//		        registry.addResourceHandler("/**").addResourceLocations("classpath:/static/");
//		        super.addResourceHandlers(registry);
//		    }
//
//}
